//DataCheck Function Pionner Research
#ifndef Check_H_
#define Check_H_
//Important Header File
#include <windows.h>	//Provide Sleep() Function prototype 
#include "Colour.h" 	//Provide Colour Basement Function prototype
//Struct Defination 
struct Range{
	float floor;
	float utmost;
};
//struct DataCheck preset[5];
//auto Vary Defination
int Flag;	//Receive the DataCheckFlag return from the CheckResult() function 

//enum Array & Const_Transfer ratio set
enum DataStatus{SCRERR,SCRWRN};
enum WERR{WRN,ERR,DFT};
enum SCR{SML,BIG};
DataStatus CekBuf;
//Const Data Set
const float Transfer_100To5_1=50.0;// Transfer Score-input in 100 scale To GPA-Standard(in 5 scale) Score 
const float Transfer_100To5_2=10.0;
const struct Colour WarningSet={BRTWIT,PUR,WIT};
const struct Colour ErrorSet={WIT,RED,WIT};//WAITING for CORRECTION
const struct Range scr[2]={0.0,5.0,5.1,100.0};	//SML SET Range(scr[0])--0<->5; BIG SET Range(scr[1])--5.1<->100
const struct Range pnt={0.25,5.0};
//Function Prototype Defination
void ScoreTransfer(struct ScoreData* cek);
int CheckResult(struct ScoreData* cek);//  
void WerrorDisplay(int StatusCode,struct ScoreData* cek,int Line);
void SetWerrColour(WERR Flag); 
//Colour for Warning&Error Prompt Set
//Warning 	ColourSet
//BACK 		--- PUR(PLE)
//FRONT		--- BR(I)(GH)TW(H)IT(E)
//Text		--- LITBLU
//Error		ColourSet
//BACK		---	LITRED
//FRONT		--- BR(I)(GH)TW(H)IT(E)		USED ONES:(BLU)
//TEXT		---	LITYEL
#endif 
